Skip to content

luci-app-usteer: add sta cipher and AKM info in tooltip#8367

Closed
Ramon00 wants to merge 1 commit intoopenwrt:masterfrom
Ramon00:add-sta-info-tooltip
Closed

luci-app-usteer: add sta cipher and AKM info in tooltip#8367
Ramon00 wants to merge 1 commit intoopenwrt:masterfrom
Ramon00:add-sta-info-tooltip

Conversation

@Ramon00
Copy link
Contributor

@Ramon00 Ramon00 commented Mar 2, 2026

Add sta cipher and AKM in tooltip to luci-app-usteer if hostapd_cli is installed

example of the full tooltip
image

It hostapd_cli is not installed it will show Install hostapd_cli for AKM and cipher info instead of the cipher and AKM.

For the sta's not on the current AP it does not show anything (as hostapd_cli can only show information on the current AP)

P.S. If so desired, I can add more information, e.g. the flags=[AUTH][ASSOC][AUTHORIZED][WMM][MFP][HT][VHT][HE]
or maybe he_capab, vht_caps_info, vht_capab, ht_caps_info, ext_capab? See /usr/sbin/hostapd_cli -i phy1-ap0 all_sta for a full list

P.P.S Alternative or maybe in addition, this can also be done in luci-mod-network/wireless.js?

@systemcrash
Copy link
Contributor

Isn't this info all available via network functions already (a la network/wifi overview)?

@Ramon00
Copy link
Contributor Author

Ramon00 commented Mar 2, 2026

nope currently no way to check the actual cipher and AKM that the sta is using in LuCi. As far as I can tell it is also not exposed via ubus.

@Ramon00
Copy link
Contributor Author

Ramon00 commented Mar 2, 2026

ugh... where did that merge commit come from, let me kill that

@Ramon00 Ramon00 force-pushed the add-sta-info-tooltip branch 2 times, most recently from ea7fa9b to 98ddffe Compare March 2, 2026 20:38
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@Ramon00 Ramon00 force-pushed the add-sta-info-tooltip branch from 98ddffe to a222a46 Compare March 3, 2026 19:35
@systemcrash
Copy link
Contributor

I think you need to rebase on master to fix the conflict.

@Ramon00
Copy link
Contributor Author

Ramon00 commented Mar 4, 2026

I did that already, seems like something is out of sync on my side, but let me try again tonight

@Ramon00 Ramon00 force-pushed the add-sta-info-tooltip branch from a222a46 to f793c8c Compare March 4, 2026 17:32
luci-app-usteer: add sta info in tooltip

Signed-off-by: Ramon Van Gorkom <Ramon00c00@gmail.com>
@Ramon00 Ramon00 force-pushed the add-sta-info-tooltip branch from f793c8c to 0caa467 Compare March 4, 2026 17:34
@systemcrash
Copy link
Contributor

Are you sure those maps will be 00-0f-ac-1 and not something like 00-0f-ac-01?

@Ramon00
Copy link
Contributor Author

Ramon00 commented Mar 4, 2026

Yes im sure, try running /usr/sbin/hostapd_cli -i phy1-ap0 all_sta it will show a key like dot11RSNAStatsSelectedPairwiseCipher=00-0f-ac-4 and AKMSuiteSelector=00-0f-ac-4. It is really strangely encoded. The last digit is actually decimal.

@systemcrash
Copy link
Contributor

systemcrash commented Mar 4, 2026

OK - if you're happy, in she goes (just gonna let the checks finish)

@Ramon00
Copy link
Contributor Author

Ramon00 commented Mar 4, 2026

ok thx. I could make the same tooltip for luci-mod-network wireless.js, if you think that makes sense

@systemcrash
Copy link
Contributor

Closed via 60c3488

@systemcrash systemcrash closed this Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants